package com.neuronbit.businessflow.intellij.model;

import lombok.Getter;
import lombok.ToString;

/**
 * The type Script task.
 */
@Getter
@ToString(callSuper = true)
public class ScriptTask extends Task{
    private final String expression;

    /**
     * Instantiates a new Script task.
     *
     * @param id         the id
     * @param name       the name
     * @param expression the expression
     */
    public ScriptTask(String id, String name, String expression) {
        super(id, name, NodeType.SCRIPT_TASK);
        this.expression = expression;
    }
}
